﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/BaseLine.Master" AutoEventWireup="true"
  Codebehind="ImportDataPage.aspx.cs" Inherits="WebRobot.Pages.makersite" Title="::Web Robot:Import Data::" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dxuc" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <div class="heading">
    Import Data
  </div>
  <div style="margin: 0 0 0 200px">
    <table runat="server" cellpadding="0" cellspacing="5">
      <tr>
        <td align="center" colspan="2">
          <a><span id="lbStatus" runat="server" style="color: Red;"></span></a>
        </td>
      </tr>
      <tr>
        <td align="right" style="height: 20px">
          <span style="color: #808080;">Upload FX file: </span>
        </td>
        <td style="height: 20px">
          <div style="float: right; margin: 0 0 0 2px">
            <asp:FileUpload ID="ulfReportFX" runat="server" BackColor="White" BorderColor="Black"
              BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" />
          </div>
        </td>
      </tr>
      <tr>
        <td align="right">
          <span style="color: #808080;">Upload OTT file: </span>
        </td>
        <td>
          <div style="float: right;">
            <asp:FileUpload ID="ulfReportOTT" runat="server" BackColor="White" BorderColor="Black"
              BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" /></div>
        </td>
      </tr>
      <tr>
        <td align="right" style="height: 20px">
          <span style="color: #808080;">Upload ITT file: </span>
        </td>
        <td style="height: 20px">
          <div style="float: right">
            <asp:FileUpload ID="ulfReportITT" runat="server" BackColor="White" BorderColor="Black"
              BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" />
          </div>
        </td>
      </tr>
      <tr>
        <td align="right" style="height: 19px">
          <span style="color: #808080;">Upload OLT file: </span>
        </td>
        <td style="height: 19px">
          <div style="float: right">
            <asp:FileUpload ID="ulfReportOLT" runat="server" BackColor="White" BorderColor="Black"
              BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" /></div>
        </td>
      </tr>
      <tr>
        <td>
        </td>
        <td align="center">
          <br />
          <dxe:ASPxButton ID="btnUpload" runat="server" AutoPostBack="False" Text="Upload"
            OnClick="btnUpload_Click" CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua">
          </dxe:ASPxButton>
        </td>
      </tr>
    </table>
  </div>
  <br />
  <br />

  <script language="javascript" type="text/javascript">
    jQuery(document).ready(function(){
      jQuery('#aMenuUplPDF').attr('class', 'active');
    });
  </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
  <div class="heading">
    Data Imported
  </div>
  <div style="margin: 10px 0 0 150px">
    <dxwgv:ASPxGridView ID="gvFileUpload" runat="server" CssPostfix="Aqua" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
      KeyFieldName="Id" AutoGenerateColumns="False">
      <Columns>
        <dxwgv:GridViewDataTextColumn Caption="File Name" FieldName="FileName" VisibleIndex="0"
          Name="FileName">
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataDateColumn Caption="Upload Date" FieldName="UploadDate" VisibleIndex="2"
          Name="UploadDate">
          <EditCellStyle HorizontalAlign="Center">
          </EditCellStyle>
          <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
        </dxwgv:GridViewDataDateColumn>
        <dxwgv:GridViewDataTextColumn Caption="Upload by" FieldName="UploadBy" VisibleIndex="3"
          Name="UploadBy">
        </dxwgv:GridViewDataTextColumn>
        <dxwgv:GridViewDataImageColumn Caption="View" Name="View" VisibleIndex="1">
          <DataItemTemplate>
            <a href='UploadedData.aspx?id=<%#Eval("Id") %>'>
              <img alt="" src="../images/icon/pdf.png" width="32" height="32" />
            </a>
          </DataItemTemplate>
          <PropertiesImage ImageAlign="Middle">
          </PropertiesImage>
          <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
        </dxwgv:GridViewDataImageColumn>
        <dxwgv:GridViewDataTextColumn Caption="Id" Name="ID" Visible="False" VisibleIndex="5">
        </dxwgv:GridViewDataTextColumn>
      </Columns>
      <Styles CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua">
      </Styles>
      <SettingsLoadingPanel Text="" />
      <Images ImageFolder="~/App_Themes/Aqua/{0}/">
        <CollapsedButton Height="15px" Url="~/App_Themes/Aqua/GridView/gvCollapsedButton.png"
          Width="15px" />
        <ExpandedButton Height="15px" Url="~/App_Themes/Aqua/GridView/gvExpandedButton.png"
          Width="15px" />
        <FilterRowButton Height="13px" Width="13px" />
        <DetailCollapsedButton Height="15px" Url="~/App_Themes/Aqua/GridView/gvDetailCollapsedButton.png"
          Width="15px" />
        <DetailExpandedButton Height="15px" Url="~/App_Themes/Aqua/GridView/gvDetailExpandedButton.png"
          Width="15px" />
        <HeaderFilter Height="19px" Url="~/App_Themes/Aqua/GridView/gvHeaderFilter.png" Width="19px" />
        <HeaderActiveFilter Height="19px" Url="~/App_Themes/Aqua/GridView/gvHeaderFilterActive.png"
          Width="19px" />
        <HeaderSortDown Height="5px" Url="~/App_Themes/Aqua/GridView/gvHeaderSortDown.png"
          Width="7px" />
        <HeaderSortUp Height="5px" Url="~/App_Themes/Aqua/GridView/gvHeaderSortUp.png" Width="7px" />
        <WindowResizer Height="13px" Url="~/App_Themes/Aqua/GridView/WindowResizer.png" Width="13px" />
      </Images>
      <StylesEditors>
        <ProgressBar Height="25px">
        </ProgressBar>
      </StylesEditors>
      <SettingsPager>
        <AllButton>
          <Image Height="19px" Width="27px" />
        </AllButton>
        <FirstPageButton>
          <Image Height="19px" Width="23px" />
        </FirstPageButton>
        <LastPageButton>
          <Image Height="19px" Width="23px" />
        </LastPageButton>
        <NextPageButton>
          <Image Height="19px" Width="19px" />
        </NextPageButton>
        <PrevPageButton>
          <Image Height="19px" Width="19px" />
        </PrevPageButton>
      </SettingsPager>
      <ImagesEditors>
        <CalendarFastNavPrevYear Height="19px" Url="~/App_Themes/Aqua/Editors/edtCalendarFNPrevYear.png"
          Width="19px" />
        <CalendarFastNavNextYear Height="19px" Url="~/App_Themes/Aqua/Editors/edtCalendarFNNextYear.png"
          Width="19px" />
        <DropDownEditDropDown Height="7px" Url="~/App_Themes/Aqua/Editors/edtDropDown.png"
          UrlDisabled="~/App_Themes/Aqua/Editors/edtDropDownDisabled.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtDropDownHottracked.png"
          Width="9px" />
        <SpinEditIncrement Height="6px" Url="~/App_Themes/Aqua/Editors/edtSpinEditIncrementImage.png"
          UrlDisabled="~/App_Themes/Aqua/Editors/edtSpinEditIncrementDisabledImage.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtSpinEditIncrementHottrackedImage.png"
          UrlPressed="~/App_Themes/Aqua/Editors/edtSpinEditIncrementHottrackedImage.png"
          Width="7px" />
        <SpinEditDecrement Height="7px" Url="~/App_Themes/Aqua/Editors/edtSpinEditDecrementImage.png"
          UrlDisabled="~/App_Themes/Aqua/Editors/edtSpinEditDecrementDisabledImage.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtSpinEditDecrementHottrackedImage.png"
          UrlPressed="~/App_Themes/Aqua/Editors/edtSpinEditDecrementHottrackedImage.png"
          Width="7px" />
        <SpinEditLargeIncrement Height="9px" Url="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncImage.png"
          UrlDisabled="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncDisabledImage.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncHottrackedImage.png"
          UrlPressed="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncHottrackedImage.png" Width="7px" />
        <SpinEditLargeDecrement Height="9px" Url="~/App_Themes/Aqua/Editors/edtSpinEditLargeDecImage.png"
          UrlDisabled="~/App_Themes/Aqua/Editors/edtSpinEditLargeDecDisabledImage.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtSpinEditLargeDecHottrackedImage.png"
          UrlPressed="~/App_Themes/Aqua/Editors/edtSpinEditLargeDecHottrackedImage.png" Width="7px" />
      </ImagesEditors>
    </dxwgv:ASPxGridView>
  </div>
</asp:Content>
